<div data-ng-controller="contractReceivableCtrl">

    <div class="table-header clearfix ng-scope">
        <span class="fl lh30 f14">{{contractBaseInfo.contract_code}}</span>
    </div>

    <form class="form-horizontal">
	    <div ng-if="contractBaseInfo.busnisseType == null">
		    <div class="form-group mt10">
			    <span for="inputtext3" class="col-sm-3 control-label">签约金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.signAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r"
				           id="inputtext3" placeholder="签约金额">
			    </div>
			    <span for="inputtext3" class="col-sm-3 control-label">产品租用金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.rentAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="产品租用金额">
			    </div>
			    <span for="inputtext3" class="col-sm-3 control-label">交付金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.deliveryAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="交付金额">
			    </div>

		    </div>

		    <div class="form-group mt10">
			    <span for="inputtext3" class="col-sm-3 control-label">已开票金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.billingAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="已开票金额">
			    </div>
			    <span for="inputtext3" class="col-sm-3 control-label">已回款金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.paymentAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="已回款金额">
			    </div>
			    <span for="inputtext3" class="col-sm-3 control-label">待开票金额</span>

			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.incomeAmount - receivableInfo.summary.billingAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="待开票金额">
			    </div>

		    </div>
	    </div>

	    <div ng-if="contractBaseInfo.busnisseType != null">
		    <div class="form-group mt10">
			    <span for="inputtext3" class="col-sm-3 control-label">签约金额</span>
			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.signAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r"
				           id="inputtext3" placeholder="签约金额">
			    </div>

			    <span for="inputtext3" class="col-sm-3 control-label">已开票金额</span>
			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.billingAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="已开票金额">
			    </div>

			    <span for="inputtext3" class="col-sm-3 control-label">已回款金额</span>
			    <div class="col-sm-5">
				    <input type="text" value="{{receivableInfo.summary.paymentAmount|number:2}}" ng-disabled="true"
				           class="form-control align-r" id="inputtext3" placeholder="已回款金额">
			    </div>
		    </div>

	    </div>

        <!-- 款项清单/应收信息 -->
        <div ng-if="!([5,6,7].indexOf(contractBaseInfo.busnisseType)>=0)" ng-include="'editinc/receivable-inc-funds-list.html?v20160127'"></div>
	    <!-- 支付信息 -->
	    <!--供应商移动工程协同,云采购采宝-->
	    <div ng-if="[5,6].indexOf(contractBaseInfo.busnisseType)>=0" ng-include="'editinc/receivable-inc-payment-list.html?v20160127'"></div>
	    <!-- 供应商线下活动支付信息 -->
	    <div ng-if="contractBaseInfo.busnisseType==7" ng-include="'editinc/receivable-inc-provider-payment-list.html?v20160127'"></div>
	    <!-- 发票清单 -->
        <div ng-include="'editinc/receivable-inc-invoice-list.html?v20160127'"></div>
        <!-- 回款清单 -->
        <div ng-include="'editinc/receivable-inc-refund-list.html'"></div>

    </form>
</div>